<template>
  <div class="document-wrapper">
    <iframe
      marginheight="0"
      marginwidth="0"
      frameborder="0"
      scrolling="yes"
      :src="path"
      id="iframe"
      ref="myIframe"
    >
    </iframe>
  </div>
</template>

<script>
export default {
  name: 'Document',
  data(){
    return {
      path: 'https://tpshion.cn/doc'
    }
  }
}
</script>

<style lang="less" scoped>
.document-wrapper{
  min-height: ~"calc(100vh - 72px)";
  iframe{
    width: 100%;
    min-height: ~"calc(100vh - 72px)";
  }
}
</style>
